<?php
namespace app\admin\controller;

class Loginout
{
    public function index()
    {
        cookie('auth', null);
        session('uid',null);
        $url = url("login/index");
        header("Location: {$url}");
        exit(0);
    }

}